using System;
using System.Xml;
using System.Xml.Serialization;
namespace SERP.DAO{
	/********************************BEGIN PersonSalaryFieldEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:09/03/2013 19:09:04</para>
	/// <para>Class Name: PersonSalaryFieldEntity</para>
	/// <para>Description: ClassPersonSalaryFieldEntity store data of table PersonSalaryField</para>
	///</summary>

	[Serializable]
	public partial class PersonSalaryFieldEntity{


		private bool _InternalChangedIsNullPersonSalaryFieldId=true;
		private bool _IsNullPersonSalaryFieldId=true;
		private bool _InternalChangedIsNullPersonId=true;
		private bool _IsNullPersonId=true;
		private bool _InternalChangedIsNullSalaryFieldId=true;
		private bool _IsNullSalaryFieldId=true;
		private bool _InternalChangedIsNullSalaryData=true;
		private bool _IsNullSalaryData=true;
		private int _PersonSalaryFieldId;
		private int _PersonId;
		private int _SalaryFieldId;
		private Decimal _SalaryData;
		[XmlElement(ElementName = "IsNullPersonSalaryFieldId")]
		public bool IsNullPersonSalaryFieldId{
			get{return _IsNullPersonSalaryFieldId;}
			set{if(!_InternalChangedIsNullPersonSalaryFieldId)_IsNullPersonSalaryFieldId=value;}
		}
		[XmlElement(ElementName = "IsNullPersonId")]
		public bool IsNullPersonId{
			get{return _IsNullPersonId;}
			set{if(!_InternalChangedIsNullPersonId)_IsNullPersonId=value;}
		}
		[XmlElement(ElementName = "IsNullSalaryFieldId")]
		public bool IsNullSalaryFieldId{
			get{return _IsNullSalaryFieldId;}
			set{if(!_InternalChangedIsNullSalaryFieldId)_IsNullSalaryFieldId=value;}
		}
		[XmlElement(ElementName = "IsNullSalaryData")]
		public bool IsNullSalaryData{
			get{return _IsNullSalaryData;}
			set{if(!_InternalChangedIsNullSalaryData)_IsNullSalaryData=value;}
		}
		[XmlElement(ElementName = "PersonSalaryFieldId")]
		public int PersonSalaryFieldId{
			get{return _PersonSalaryFieldId;}
			set{
				_PersonSalaryFieldId=value;
				if(_PersonSalaryFieldId!=null){
					_IsNullPersonSalaryFieldId=false;
					_InternalChangedIsNullPersonSalaryFieldId=true;
				}
			}
		}
		[XmlElement(ElementName = "PersonId")]
		public int PersonId{
			get{return _PersonId;}
			set{
				_PersonId=value;
				if(_PersonId!=null){
					_IsNullPersonId=false;
					_InternalChangedIsNullPersonId=true;
				}
			}
		}
		[XmlElement(ElementName = "SalaryFieldId")]
		public int SalaryFieldId{
			get{return _SalaryFieldId;}
			set{
				_SalaryFieldId=value;
				if(_SalaryFieldId!=null){
					_IsNullSalaryFieldId=false;
					_InternalChangedIsNullSalaryFieldId=true;
				}
			}
		}
		[XmlElement(ElementName = "SalaryData")]
		public Decimal SalaryData{
			get{return _SalaryData;}
			set{
				_SalaryData=value;
				if(_SalaryData!=null){
					_IsNullSalaryData=false;
					_InternalChangedIsNullSalaryData=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END PersonSalaryFieldEntityBase*****************************************/
	/*****************************************************************************************************/
}

